package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 时间片对象 time_slices
 * 
 * @author Wu Zhongfu
 * @date 2022-02-07
 */
public class SlicesDetailVo
{
    private static final long serialVersionUID = 1L;

    /** 时间片表id */
    private Long id;

    private Long userId;

    /** 用户昵称 */
    @Excel(name = "用户名称")
    private String nickName;

    /** 时间片来源表(free_time表)id */
    @Excel(name = "时间片来源表(free_time表)id")
    private Integer freeTimeId;

    /** 预约日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bookDate;

    /** 预约开始时间 */
    @Excel(name = "预约开始时间")
    private String startTime;

    /** 预约结束时间 */
    @Excel(name = "预约结束时间")
    private String endTime;


    /** 已预约人数 */
    @Excel(name = "已预约人数")
    private Integer numBooked;

    /** 每个时间片人数上限 */
    @Excel(name = "每个时间片人数上限")
    private Long numLimit;

    public Integer getFreeTimeId() {
        return freeTimeId;
    }

    public void setFreeTimeId(Integer freeTimeId) {
        this.freeTimeId = freeTimeId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getBookDate() {
        return bookDate;
    }

    public void setBookDate(Date bookDate) {
        this.bookDate = bookDate;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public Long getNumLimit() {
        return numLimit;
    }

    public void setNumLimit(Long numLimit) {
        this.numLimit = numLimit;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setNumBooked(Integer numBooked)
    {
        this.numBooked = numBooked;
    }

    public Integer getNumBooked()
    {
        return numBooked;
    }


}
